package cn.yingxd.demo.javatraining.tester.JSON;

import com.alibaba.fastjson2.annotation.JSONField;

public class TestJson04 {
    @JSONField(name="Name")
    private String Name;
    @JSONField(name="Age")
    private int Age;
    @JSONField(name="Address")
    private String Address;
    @JSONField(name="Phone")
    private String Phone;
    @JSONField(name="Sex")
    private boolean Sex;

    public String getName() {
        return Name;
    }

    public int getAge() {
        return Age;
    }

    public String getAddress() {
        return Address;
    }

    public String getPhone() {
        return Phone;
    }

    public boolean isSex() {
        return Sex;
    }

    public void setName(String name) {
        Name = name;
    }

    public void setAge(int age) {
        Age = age;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }

    public void setSex(boolean sex) {
        Sex = sex;
    }
}
